tests: adding protean tests for TextDbWrapper.  Also, nose has too much magic.. py.test seems nicer.