Add some basic support for REST api testing