Add some tests to match changes made in new ruby model

As per http://darobin.github.io/html-ruby/. This change is being landed in the W3C specification, apply with caution.