Fix tests
Throw exception for missing types.