Add tests for counter cache on multiple associations.
Merge pull request #59 from ndm2/counter-cache-compatibility

Add tests for counter cache on multiple associations.