use database cleaner
rename type column to type_vote
factory and spec fixes