Add permission for groovy source in tests to tests.policy