Fixed issue with SVIngest tests failing, minor refactoring of datetime builder