Updated kernel files
Test cases for kernel/array
Added test cases for kernel/array