add test task
add missing dev dependencies to run mocha through gulp
fix some binary tests