This test case works. But to see the datePicker working you need to copy 'templates' directory with all the resources from src\widget\templates to the tmp\src directory.