first commit.
test provided, coded with nosetest
bugs:
  - some test, generated rather than directly coded, not taken into account by nosetest.
  - no packaging, so I cant say we depend on nosetest.
added the 2 generated tests: not elegant, but they work.