active record asserts moved to tests