fixed a unittest I broke in #398

In my PR #398 I accidentally broke a unittest. This restores it to the way it should be

also see: https://github.com/jeabakker/Elgg/blob/f8bee7421d1c3880ba7acb3f8fd16042d598a95f/engine/tests/api/entity_getter_functions.php