quote the test regex
fix the time precision in a test