fixing the failing workspace spec
fixing the failing events spec

all specs need to use a callable object, a proc or lambda from now on
fixing all the scope deprication warnings