add missing settings import
updated tests