Corrected abstract class declaring

And added a test