Added test for removed belongsTo ref

Added test.

1) Checks that a null reference does exist
2) Checks that null ref was removed for final payload