Tests for single machine GET, fix serialization of single machine GET
Tests for api