tests and fix the stupid mime error