Fixed validatePin function for tests
the issue was that that the string was in a array so was failing check for includes("node_modules", "jest-runner", "build") now that's fixed and returns true when case is satisfied
let trace = new Error().stack.split("\n");
trace = trace[trace.length - 1].toString().split("/");
trace = trace[0];