add tests for useDump mode