working callback validator, supports function from string (using vm), tests added