Add test for "customtype" annotation