Index: tests/regression/Molecules/StretchBond/post/benzene.pdb
===================================================================
--- tests/regression/Molecules/StretchBond/post/benzene.pdb	(revision 3a0371dcdcd18afff449a20bb143bb806c0c57cd)
+++ tests/regression/Molecules/StretchBond/post/benzene.pdb	(revision 3a0371dcdcd18afff449a20bb143bb806c0c57cd)
@@ -0,0 +1,26 @@
+REMARK created by molecuilder on Mon May 15 12:28:27 2017, time step 0
+ATOM      1 H01 0non 01          5.000   7.145   5.002  0.00  0.00           H 0
+ATOM      2 C01 0non 01          6.080   7.145   5.001  0.00  0.00           C 0
+ATOM      3 C02 0non 01          6.781   8.145   5.004  0.00  0.00           C 0
+ATOM      4 C03 0non 01          6.781   6.144   5.004  0.00  0.00           C 0
+ATOM      5 C04 0non 01          8.161   8.345   5.004  0.00  0.00           C 0
+ATOM      6 C05 0non 01          8.161   5.945   5.004  0.00  0.00           C 0
+ATOM      7 C06 0non 01          8.849   7.145   5.001  0.00  0.00           C 0
+ATOM      8 H02 0non 01          6.245   9.290   5.006  0.00  0.00           H 0
+ATOM      9 H03 0non 01          6.245   5.000   5.007  0.00  0.00           H 0
+ATOM     10 H04 0non 01          8.705   9.278   5.005  0.00  0.00           H 0
+ATOM     11 H05 0non 01          8.704   5.012   5.006  0.00  0.00           H 0
+ATOM     12 H06 0non 01          9.929   7.145   5.000  0.00  0.00           H 0
+CONECT    1    2                                                                
+CONECT    2    1    3    4                                                      
+CONECT    3    2    5    8                                                      
+CONECT    4    2    6    9                                                      
+CONECT    5    3    7   10                                                      
+CONECT    6    4    7   11                                                      
+CONECT    7    5    6   12                                                      
+CONECT    8    3                                                                
+CONECT    9    4                                                                
+CONECT   10    5                                                                
+CONECT   11    6                                                                
+CONECT   12    7                                                                
+END
Index: tests/regression/Molecules/StretchBond/pre/benzene.pdb
===================================================================
--- tests/regression/Molecules/StretchBond/pre/benzene.pdb	(revision 3a0371dcdcd18afff449a20bb143bb806c0c57cd)
+++ tests/regression/Molecules/StretchBond/pre/benzene.pdb	(revision 3a0371dcdcd18afff449a20bb143bb806c0c57cd)
@@ -0,0 +1,26 @@
+REMARK created by molecuilder on Mon May 15 12:23:36 2017, time step 0
+ATOM      1 H01 0non 01          5.000   7.145   5.002  0.00  0.00           H 0
+ATOM      2 C01 0non 01          6.080   7.145   5.001  0.00  0.00           C 0
+ATOM      3 C02 0non 01          6.781   8.352   5.004  0.00  0.00           C 0
+ATOM      4 C03 0non 01          6.781   5.937   5.004  0.00  0.00           C 0
+ATOM      5 C04 0non 01          8.161   8.345   5.004  0.00  0.00           C 0
+ATOM      6 C05 0non 01          8.161   5.945   5.004  0.00  0.00           C 0
+ATOM      7 C06 0non 01          8.849   7.145   5.001  0.00  0.00           C 0
+ATOM      8 H02 0non 01          6.245   9.290   5.006  0.00  0.00           H 0
+ATOM      9 H03 0non 01          6.245   5.000   5.007  0.00  0.00           H 0
+ATOM     10 H04 0non 01          8.705   9.278   5.005  0.00  0.00           H 0
+ATOM     11 H05 0non 01          8.704   5.012   5.006  0.00  0.00           H 0
+ATOM     12 H06 0non 01          9.929   7.145   5.000  0.00  0.00           H 0
+CONECT    1    2                                                                
+CONECT    2    1    3    4                                                      
+CONECT    3    2    5    8                                                      
+CONECT    4    2    6    9                                                      
+CONECT    5    3    7   10                                                      
+CONECT    6    4    7   11                                                      
+CONECT    7    5    6   12                                                      
+CONECT    8    3                                                                
+CONECT    9    4                                                                
+CONECT   10    5                                                                
+CONECT   11    6                                                                
+CONECT   12    7                                                                
+END
Index: tests/regression/Molecules/StretchBond/testsuite-molecules-stretch-bond-cyclic_bond.at
===================================================================
--- tests/regression/Molecules/StretchBond/testsuite-molecules-stretch-bond-cyclic_bond.at	(revision 3a0371dcdcd18afff449a20bb143bb806c0c57cd)
+++ tests/regression/Molecules/StretchBond/testsuite-molecules-stretch-bond-cyclic_bond.at	(revision 3a0371dcdcd18afff449a20bb143bb806c0c57cd)
@@ -0,0 +1,51 @@
+#
+#    MoleCuilder - creates and alters molecular systems
+#    Copyright (C) 2017 Frederik Heber
+#
+#    This program is free software: you can redistribute it and/or modify
+#    it under the terms of the GNU General Public License as published by
+#    the Free Software Foundation, either version 3 of the License, or
+#    (at your option) any later version.
+#
+#    This program is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#    GNU General Public License for more details.
+#
+#    You should have received a copy of the GNU General Public License
+#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+#
+### stretching cyclic bond
+
+AT_SETUP([Molecules - Stretching cyclic bond])
+AT_KEYWORDS([molecules stretch-bond])
+
+file=benzene.pdb
+AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Molecules/StretchBond/pre/$file $file], 0)
+AT_CHECK([chmod +w $file], 0)
+AT_CHECK([../../molecuilder -i $file --select-atom-by-id 2 3 --stretch-bond 2.], 0, [stdout], [stderr])
+AT_CHECK([diff -I '.*reated by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Molecules/StretchBond/post/$file], 0, [ignore], [ignore])
+
+AT_CLEANUP
+
+AT_SETUP([Molecules - Stretching cyclic bond with Undo])
+AT_KEYWORDS([molecules stretch-bond undo])
+
+file=benzene.pdb
+AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Molecules/StretchBond/pre/$file $file], 0)
+AT_CHECK([chmod +w $file], 0)
+AT_CHECK([../../molecuilder -i $file --select-atom-by-id 2 3 --stretch-bond 2. --undo], 0, [stdout], [stderr])
+AT_CHECK([diff -I '.*reated by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Molecules/StretchBond/pre/$file], 0, [ignore], [ignore])
+
+AT_CLEANUP
+
+AT_SETUP([Molecules - Stretching cyclic bond with Redo])
+AT_KEYWORDS([molecules stretch-bond redo])
+
+file=benzene.pdb
+AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Molecules/StretchBond/pre/$file $file], 0)
+AT_CHECK([chmod +w $file], 0)
+AT_CHECK([../../molecuilder -i $file --select-atom-by-id 2 3 --stretch-bond 2. --undo --redo], 0, [stdout], [stderr])
+AT_CHECK([diff -I '.*reated by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Molecules/StretchBond/post/$file], 0, [ignore], [ignore])
+
+AT_CLEANUP
