Added CloudArray unit tests.
CloudArray fix for empty source.
Added some unit tests.