Add test cases

I added some test cases.
I would be glad if you could merge.