Improve has-many test