added bad path test to first method