Add mocked build test case as patched class