JAVA-1286: Fixed one broken Spock test
Ensured that Gradle runs Spock tests for the bson module
Fixing Codenarc failures in bson module Spock tests
Add test MaxPermSize settings in build