Adding configuration for tests on gradle