Fix test for rack exception