Add basic test for Api access protocol w/ mock