Add test that checks that parameters are not included if there aren't any.