Autocomplete test functional init

Test functional for places initialized

If it is only used for test purposes, it's better to move this function in the tests (a free function for example).

That being said, I'm not sure this function is really useful. If you want it to be syntaxic sugar, I think I would be more convenient to put the parameter.

ex:
in the test:

void add_admin(const std::string& name, ...level, .. post_code) {
Admin* to_add = new Admin;
 to_add->name = name;
 to_add->uri = a.name;
 to_add->post_code = post_code;
 to_add->level = level;
to_add->idx = admins.size();
 admins.push_back(to_add);
}