make test case compile