added unit tests for generators/*.rb