Fix rack exception test