Added the custom-mimetypes and a couple of tests to pick up the spectrum
types