add tests for flagging
Merge branch 'master' of github.com:sunlightlabs/earwig