improve extensibility of test case