add expect to test/spec.js