Fixed test
Exclude groovy-eclipse-batch dependency from groovy-eclipse-compiler or it will resolve SNAPSHOTs
Avoid potential NPE from testing.