updated tests that use early type defs
test that early type defs can't be used