fixing some deps/shims to get tests working with grunt test