test 1to1 for unique key generation
test for inheritance of non-default fk
test for inheritance of non-default fk
one_to_many corrected to many_to_one. Duh