Fix tests
Fix tests

Tests had one big mistake - setTimeout executed after test case passed. In other words - no checks are performed inside `setTimeout` calls.
The other thing is that we don't check if scrollTop is changed, but I don't know how to test it correctly
cferdinandi/smooth-scroll,cferdinandi/smooth-scroll