Remove trailing whitespace
Add a failing test for the foreignkey assignment issue