GUI -- refactored key service test to spy on $log service, instead of implementing our own mock.

Change-Id: I166972eed147ccf3d50d65454103922939b87e06