Add failing test case for subclass bug