failing test case for html without <head> on jruby