controller test: split into contexts to eliminate double put request