create_test_treelog function

Create a treelog object to be used in testing