testcase added for background threads
removed unused function