Finish tests for '/devices/' enpoint