fix typo in comment
simplify tests, add test for actions
add tests for machine widgets