making test pass for abstract class