upgrade rspec to 3
added trend model