Test support

Nose test support, simple structure, base class, simple way to run from command line, can be run from IDE as well