Added the ITopic test

Fixes #335
what's the latch used for?