[DF-4476] Fixed compilation issues
[DF-4476] Unit tests for function and bind added.