add test for svn ticket 6684