closes #681, cleanup test by shutting down repl set at end