Added some checks to the test
Added some checks to the test

peterkokot/SensioGeneratorBundle,webmozart/SensioGeneratorBundle,sensiolabs/SensioGeneratorBundle,zikula/GeneratorBundle,sensiolabs/SensioGeneratorBundle,mbontemps/SensioGeneratorBundle,zikula/GeneratorBundle