Add testing of invalid paths