Added repeat and range tests

Static factory methods for ArrayHandler.