modifications to build.gradle to allow tests with mocks