Added tests

Addresses #30
See below for how to check `.text` without a callback.