Test for foreign key in TP added, previous TP test removed