creates tests for date picker component