modify tests to rely on the unittest module

* please note: the tests are no real unittests, they are
  regression tests on a high level of abstraction, using
  nearly all the components of the parser generator