fixed spec test syntax