Write testcase for various browser bugs

Tests for #34 
to me there is no bug here, you can't expect `text/html` without passing it.