Change the interfaces a little to split post and get and add a few tests