test: add buttons.spec.js unit test, coverage 100%