Tests for rails generator.
Add appropriate messages for assert
Check changes in auto-generated file by MD5 hash
Split test method on two
Move generators tests from test/lib/ to test/cases/
Little engine cleanup.