fixed bug with spaces in message payload breaking AWS query signature method
Adapted test