Reformatted code.
Added some more unit tests for NArrayCommonElement.