Move hasMany assertions to own test