User types -- basic type decoding and additional tests for user types