Add tests that should fail when lock() throws. THis is part of LWG issue #2135. No library changes here.