Testing string containing both new line and comma