added checks of schema URI and MIME type based on available destinations, adjusted and extended tests