Add integration spec for committing
Use alias_method instead of alias