updated test to use rails 4.0
more logging in travis before