Add check $line is empty or not.

This commit resolve testContainEmptyLine.
Use comparison operator "===" and "!==" insted of "==" and "!="
Add initialize $slideData[$i] as array