Fix javadoc typos.
Fix robolectric tests for opfpush module.

Add TestEventListener class.
Refactor some test classes.
Add new test cases.