added tests for extending circuit all the way and connecting to a remote resource