Fixing array call promise inconsistency (thanks @jackdolabany) and adding tests