Updating sample-code and adding test for selendroid contactmanager test

- #3401
@moizjv might want to use `path.resolve()` to make sure this path works no matter what our cwd when we run the tests