add some api status tests and fix bad remote address