cleaned up test cases
commented/cleaned up code