add test for functionp with transform
test