Fixed bug with table cell styles and added grid span unit tests