Fix date test

Signed-off-by: Aniket Pant <me@aniketpant.com>