fixed placeholder on date field
added test for method