Changed constructor for unit test class.