Fix tests to allow POST responses