changed public interfaces declared for tests to abstract classes