Added a couple more test cases

Signed-off-by: Morten Hustveit <morten.hustveit@gmail.com>
Add more tests and fix string comparison bug

Thanks to Yiming Jing <ymjing@asu.edu> for providing the test case.

Signed-off-by: Morten Hustveit <morten.hustveit@gmail.com>