add $digest to Scope prototype
fix digest test