Some more tests

and fix handling of
* deleted docs
* later changes of generation one