Test case add for bug #247

https://sourceforge.net/p/sveditor/bugs/247/