Added another assertion for testSendHeaderLocationWithoutSidWithIis

Also fixed the syntax for getting user defined constants as previous
one was failing the Travid build