Updated sapi test