g1 + 2 errors on running rake test