Adding navigate method, spy on test and didnt realize that i missed it