added tests for typeadapters