wrote test for csv generation, checks content type is csv, and checks filename is the default filename given by the controller