Added rest of functional tests for add thread.