Fixed failover in class definition
More tests
Added more tests
Perltidy and POD tweaks