POST fixes and tests