reorder requirements in test
add sinon to tests