Add test for calling sum on 1 element array