Adding tests for the approval API call