Test respond_to block