tests: Test all extensions when testing _allowed_file()
admin: Make file extension check case insensitive