added a test for api version