adding comments and moving test cases into one file