sophia: introduce new test system, multithreaded tests