fix test errors in Tests/Command/GenerateBundleCommandTest.php