Update test.js

better coverage.