Added tests for ValueArray