Fixed failing test with global function
Merge remote-tracking branch 'origin/master'