Added tests for unclosed strings