Why is this class duplicated in the test project?