tests and fixes for vps api