Refactored Test Cases

Moved all test cases into individual files.