updated spec test