Test array push on input change