* adds tests for api GET method * fixes bug where non existing geometry could not be serialized properly