Changing verify callback format to follow Node.js conventions. Updating unit tests.