gapi test