WObject testing and bugfixing