another passing test, extracted logic to separate class