add test cases (issue #414)