Add tests for table rendering

DHC-644

Change-Id: If6c3d8d438074bc3ecbab19d586d38992200610e