GetCapabilities finalize and test