Test of server api