Fixed broken Pillreminder tests

Metrics context was not imported, but required for the event context

Change-Id: Ie5aa03c5ec0f92ba2c0884c82de1fd1327a6c1e4