Test using http interface

Lets get rid of this one later, once we have figured out a sane interface.