EAGLESIX-3880: add test, arrayExtend example, jscs, styling