Add unit tests for mimetype checking in folders
Add unit tests for blacklist and whitelist