Add trace class for unit test