Update README to include check

Add if defined? check to README to allow use of rake in non-test mode