A Stateful Approach to Testing Monitors in Multithreaded Programs | IEEE Conference Publication | IEEE Xplore