cleaned up the test cases and removed some unnecissary code