post vs put and fix tests