Fixed unit tests

I've fixed the test so the Travis build is back to normal.
I've noticed that the `startOfWeek` helper depends on the locale, if any future feature is going to depend on it, we should revisit it.