Added tests for filters, fix the date format for casework page.