-- Wrote passable tests for toTopic and toClause.

Signed off by: Mark Farrell<markfarr2011@gmail.com>