support to write test cases