Added test for generate:model