fixed tests
updated to rails 4.2 rc1