add test
fix issue-21