Adding possibility to use function inside data element.
Unit test for data function element.