Refactoring rollDate algorithm and fixing tests