Finished routing tests and added setting foreign keys to null during parent delete for the in memory store (sqlite should do this automatically).