feat(btoa): port and modify from Array.findindex

Did you missed `testSubject,` here?