spec tests updated