Moved test classes to specs project. Added basic tests.