Fixing obscure unit test bug when calculating time ago string