added pathing tests and fixed pathing