add a test covering a N:M association getter with include, closes #1880