add test
Merge pull request #354 from mahkoh/test

Implement test