Test the function for the following groups of integers: -4 -19 27 1 4 8 1 4 1 1 1 4 4 1 1