Remove some old http client code, add some rudimentary controller tests