Creating topics

PR before I submit a PR to pingle's repo.

I don't like the testanda's `let` on the tests, but I'm having a hard time with this `expectations` test library. Will ask pingle for advice before merging on his repo.
this code seems to be duplicated in util.cl