Test Case fixes and add new line to the end of every file