Add a test for Timeout and ExpectedException rules