Restore pg engine _update_ids tests.

Just sticking them in EngineTest, as it is the simplest thing to do.