Fixed unit tests.
Fixed unit tests.

At some point some asserts were added to Listener functions which was
causing the unit tests to fail. By changing the order things got
initialized we can avoid triggering those asserts.

Tested on Linux.

Change-Id: Ia0ab8d9dea99e62b2839822111c8ab29f702190a

google/pindrop,google/pindrop,google/pindrop