refactor(test-api): rename parameter Long first to currentMax