Add support for flushing the LocalStoreDrain so we can run clean unit tests

this will let us flush the local store drain when each test runs.