ensure that abstract class mocking works