Fix miscellaneous tests
fix a bug with respect to dropping an index.
fix bug in reserializing collections on open, need to set the pk before we do the reserialize