Add several unit tests.
Altered IndexOf, LastIndexOf, FindIndex and FindIndexOf functions of DistributedArray.

Signed-off-by: 80LevelElf <salahutd@gmail.com>