Fix broken rest test.