Added active record association tests.