Test that forms generated from models using TreeForeignKey etc. use the expected field types