Adds a working test of /devices/ route