Fixing Codenarc failures in bson module Spock tests