add more tests to show fix of #31