add test for keyword parser

the logic is getting complicated and i was getting errors. added specs
to make sure we don't have problems
add specs for everything

forget to redirect on update. added integration test to make sure that this
logic in there. fixed failing specs
Merge pull request #45 from mixandgo/bugfix/keyword_parser_update

Bugfix/keyword parser update