Updated tests to use the correct Django HTTP header