Get rid of rack-proxy and write tests