fix test to set both sides of relation