Add more tests for arrayMergeById