Add test for hasOne - pair