test added, made normalizer function take options property