fixed spec tests