added a test for setting NULL to hasone association