update test cases and make test