Add unit test for JSBuffer "put from array" functions