Added validations to the tests

  Using Nokogiri here to check to see if the markup is correct. Also,
    condensed a line in the high level functionality of tablinate.