add server test for /register
expose /location endpoint on server