Correct constructors in tests