FreebaseHandler and unit tests