Got the api unit tests working.