Adding test for trace function.
Adding test for trace function.

======================================================================
FAIL: test_q_trace (__main__.TestQBasic)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test/test_basic.py", line 149, in test_q_trace
    self.assertInQLog("log1\\('log1 message'\\)")
  File "test/test_basic.py", line 45, in assertInQLog
    raise self.failureException(msg)
AssertionError: Regexp didn't match: ".*log1\\('log1 message'\\).*" not found in
---------------------------------------------------------------------------
 0.0s test_q_trace: <function TestQBasic.test_q_trace.<locals>.log1>
 0.0s log2('log2 message')
 0.0s -> 'log2 message'

---------------------------------------------------------------------------

======================================================================
FAIL: test_q_trace (__main__.TestQBasic)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test/test_basic.py", line 149, in test_q_trace
    self.assertInQLog("log1\\('log1 message'\\)")
  File "test/test_basic.py", line 45, in assertInQLog
    raise self.failureException(msg)
AssertionError: Regexp didn't match: ".*log1\\('log1 message'\\).*" not found in
---------------------------------------------------------------------------
 0.0s test_q_trace: <function log1>
 0.0s log2('log2 message')
 0.0s -> 'log2 message'

---------------------------------------------------------------------------

zestyping/q