Max Value in an Array

One test case is not being passed in the max value challenge in an array. Please guide me through the solution.