A new testcase

Got rid of pyc files
Fixed a few bugs from these testcases
Final commit before bed :)