fix the tests

Summary: fix the broken tests

Test Plan: run the tests

Reviewers: shadowhand

Subscribers: rjmackay

Differential Revision: https://phabricator.ushahidi.com/D526