spec test fix