added marketplace api and example to match example in other clients
fixing issue with running tests against another host