add some ut to test ApiManager