Improving timing mean test

Making the regexp more strict to fully assert the output. This involves
escaping the regexp correctly.