Test the rendering of includepkgs and excludepkgs