test to check path