Add test to ensure tbody attributes are preserved