Fix running command as root when one is not already root
Remove duplicated dependency on rake
fix tests