Fixed path regexp in tests

For Windows. Not subtle but effective.