Fix Slave.t unit tests

+ Use Mocking libraries instead of redefining subs
Merge branch 'master' of github.com:Zentyal/zentyal