Why is this class here twice - once in resources, once in tests?