fix a bunch of database and authentication problems in the unit tests
add Comment Model
remove useless test