test for path setting