Multithreaded interpreter and stress tests for race conditions