Add test case for type=date