Fixes: correction of the foreignKeyTest