Update scripts for rails4 tests