created test to check if exists path method on request class