added buildAssignedAcountsArray() after making the test.