Testing the loopback api