style misses and added test framework