Add test case

This branch is for adding test.
It is still work in progress.