fix context for slave regression test
Merge pull request #1227 from mind04/tests

fix context for slave regression test