improve dateSearch test