Add more tests for type builders.