Added some tests for XMP-handling.