tests for logging objects with circular structure