added some unit tests
Added unit tests to generators.
Small documentation changes