Removes unnecessary imports.
Adds a basic threading test.
Adds basic background task test.