bug 903039 - add validate, type and caching tests