test shouldThrowIllegalArgumentExceptionIfStringIsEmpty() working, corner cases tested