Add missing tests for assert.