I do not see a benefit of this and the following two tests. They are testing totally the same path for 'invalid'. Please think about other values which are invalid for dates.