consistent assertions in tests
change from browserify to capsule-js