code for new server api test