Added tests for new functionality
Missing mime dependency and a dupe dep