Fixed a test on linux where moment(0) does not equal the same as on windows