Added DocumentTest expression.
Added KindTest expression.