simple unit tests, fixtures and satisfy some warnings.