moved tiddler test into separate module

in the process, made setup and teardown reusable