Unit tests for the User model
Fixed broken "through" associations
Set up templates for unit tests