add routes spec
include some gems
fix histories controller and spec