refs #115
Add spec for previous commit
Fix specs
Fix some syntax
Merge pull request #146 from murooka/deal_with_invalid_requrst

Deal with invalid requrst