replaced croak with throw_exception
wrote tests for CannotCallAnAbstractMethod
Wrote CannotCallAnAbstractMethod