Updates to tests.
Additional of arraylayer.js and related tests.