Fixes test that sets text manager stub and produced side effects
Merge pull request #356 from nsendetzky/master

Fixes test that sets text manager stub and produced side effects