Refactor logging and rectangle properties.
Add game-object test.