Refactored mach.js tests + added coveralls