Add Transaction context in tests

Transaction context added by the wsgi dispatcher was not provided when
the NereidTestCase dispatcher was used.