adding tests for hasAndBelongsToMany includes