Tests for not found view modified to wait for future returned by handler.