Send 404 to rt clients when there aren't any more pages to test

Change-Id: Ie8ccab3fe34ff61a577dde620c84f69a14d055a6