Add test for native Date object support