update test for create resource with has_one