extract base test case with default mock method