preferences test added