Fixing issue with running tests through rake