#6 renamed date option "format" to "expectedFormat"