Unit test for array keys JS.