Pass second test calling a method from another method