handler_test: make test more reliable

Linux gives "text/x-sh", and not "application/x-sh".