Put ldb test output in prefix.