included sinon and tests for async