add some basic tests for dtcwt.utils

This increases our coverage for dtcwt.utils to a respectable level.
Merge pull request #33 from rjw57/test-coverage

add some basic tests for dtcwt.utils