added tests for Array.first
fixed test for invalid number for Array.first
fixed test for number greater than length for Array.first