add a new test case for inference