Added tests + inheritance

* added basic nose tests
* added an inheritance scheme