adding groovy and spock tests for comparisons