improve test cases for Schematic and add default type defs