Add test of date param