updated spec tests