Modified the test to use the new NetworkManager specification

Modified APIWrapper to use the new URLBuilder