Updated tests, fixed some issues with the date pickers