Tests for `txspinneret.resource._renderResource`.