fix(logic filter): Export the object directly for better requires.
fix(tests): Add tests and travisci support.