fixing deprecation issues test suite is returning after upgrading to rails 4