Tidy up spec

Better to test against specific qualities than a string of HTML.