Documentation fix.
Added test assert.