Adding more tests cases. Some small funtionality

Also able to use named test cases(to help when a file name isn't enout)
Should be more fully tested