World now has functions for getting all entities with certain
components. Also created tests for this function