Added unit test for watch service and resolved issue "Change all
provider commands to use getCommand to resolve command path against
environment map."