Model testing

I wrote ActiveRecord association tests for the models.  All tests now pass.