added tests on apiview