create_test_tracelog function

Create a tracelog object, as used for testing