Make metadata test more error resilient by ignoring the seconds when comparing date values (that might differ if Jenkins is very busy).