write controller test cases
Merge pull request #10 from kuhruby/testcases

write controller test cases