Add test for invalid path