fixed spec test