Added tests for api explorer