threadstest: added thread support for assemble