fixed typo
use the TypeFactory in integration tests