Add example files for use with tests. Update testing script to use the mimetypes module to attempt to guess the correct type.