Fix typos; add mock to test requirements