Umegaya/fix v2

- fix variable which seems to wrongly declared as global.
- add some test for signature and sqs behavior.
- fix indent (tab)