test decorator and new world test.
fix config bug
fix empty world bug
optional debugStr. used it to find the leak