Fix hard-coded path separator in assertion string

Fix a test that was failing on Windows because of hard-coded path separator in assertion string.