OP-764 - fixing preferenceapi test