Add integrative test
Support negative expectations
Remove unused references and make JsHint happy