use match_array for comparing bagger spec arrays.
argumenterror is only thrown under ruby 1.9+