fixed some bugs with text processors, dpendecies, added more tests