Fixed test using undefined variable
Made abstract methods explicit