added test cases
Merge pull request #16 from junsumida/tests-refactoring

added test cases