Removed instance() from python functional tests; ISingleton and MaterialManager are (probably) thread safe now