Improve tests, add coverage.sh

Rename config to options in Builder.js