Fixed test server
Return Promise object like a $.ajax