Add test for generating into non-default package.