more unit tests, refactor of worldProxy