make sure when NSSET() gets passed nil that it still returns a valid object
because array.count will still return 0 when nil, ensure array is non nil
minor format change for readability
make sure moveObject leaves the array in the state we expect when an object is not contained in it