moved mocking libraries to sources, integrated with build