unit tests for DynamicStore