Modified test on API version