modifications to spec helper