CBQE-1939: tuq: add tests for types fns

Change-Id: Ifc2c72b4fb8de5d2f9dd5c7d45b4beca753c7bf1
Reviewed-on: http://review.couchbase.org/33032
Reviewed-by: Iryna Mironava <irynamironava@yandex.ru>
Tested-by: Iryna Mironava <irynamironava@yandex.ru>