Add a test for P1 that checks that multiple threads can properly wake