Add units tests for scroll