Added tests for threading calls. Currently fail due to lack of relocations,,,
Started work on relocations.