Tests and associated fixes for Table