- use unique_ptr in test file