Added unit test for array_last function
Merge pull request #5799 from adililhan/4.2

Added unit test for array_last function