Added pending state to spec helper.