Changes mocked tests to keep up with implementation changes

around store application. Also fixed an invalid assumption regarding
dynamic node label records where the test though that deleted records
weren't included in that list.