The class were originally built in 2008 for operation on the Stourbridge Town Branch Line . The class were originally built in 2008 for operation on the Stourbridge Town Branch Line following an extensive trial with a prototype registered as a Class 999 unit .