added controller tests and fixed database error
Merge branch 'master' of github.com:markthor/RentIt