fix failure in rails 4 mode
fix incorrect test, that fails if shared test state gets corrupt