add missing @Override annotations
add a testcase for XML type adapter