test for both forward and backward slash -- #5517