Create test output directory before opening db