added some tests for server.go and go the Post/create endpoint working with a json body