testing infrastructure & initial integration test for REST