Fixed tests to use commit response instead of array