adding Day.js tests and modifying layOutDay function