Finalize test for the API