Add test for registering object instances in tables.