Fix bug in TestMinimal

The functions post, put and patch use a mutable argument as default.
This is a common Python pitfall, causing the headers list to grow each
the same function is called.