Corrected error with EMPTY input in tests