Setting abstract class property during testing