Fixes time formatting test