add sinon for tests
test actions
add docs