Allow iterating and adding to InMemoryDataContext.

InMemoryDataContext queues add and remove, not altering collection.
Breaks tests if tests are ignoring to call commit after add or remove for convenience.