Add test for backstab detection.