Index: tests/regression/Atoms/RandomPerturbation/post/water.xyz
===================================================================
--- tests/regression/Atoms/RandomPerturbation/post/water.xyz	(revision 3f6aac06d33e464dc0334c630276ee1638946e4d)
+++ tests/regression/Atoms/RandomPerturbation/post/water.xyz	(revision 3f6aac06d33e464dc0334c630276ee1638946e4d)
@@ -0,0 +1,5 @@
+3
+	Created by molecuilder on Sun Apr  2 21:55:57 2017, time step 0
+O	9.9	9.9	10.1
+H	9.2	10.1	9.9
+H	10.6	10.1	10.1
Index: tests/regression/Atoms/RandomPerturbation/pre/water.xyz
===================================================================
--- tests/regression/Atoms/RandomPerturbation/pre/water.xyz	(revision 3f6aac06d33e464dc0334c630276ee1638946e4d)
+++ tests/regression/Atoms/RandomPerturbation/pre/water.xyz	(revision 3f6aac06d33e464dc0334c630276ee1638946e4d)
@@ -0,0 +1,5 @@
+3
+	created for AtomsRandomPerturbation on 2017-04-02 21:27
+O	10	10	10
+H	9.3	10	10
+H	10.7	10	10
Index: tests/regression/Atoms/RandomPerturbation/testsuite-atoms-random-perturbation.at
===================================================================
--- tests/regression/Atoms/RandomPerturbation/testsuite-atoms-random-perturbation.at	(revision 3f6aac06d33e464dc0334c630276ee1638946e4d)
+++ tests/regression/Atoms/RandomPerturbation/testsuite-atoms-random-perturbation.at	(revision 3f6aac06d33e464dc0334c630276ee1638946e4d)
@@ -0,0 +1,43 @@
+#
+#    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/>.
+#
+### randomly perturb atom
+
+AT_SETUP([Atoms - random perturbation])
+AT_KEYWORDS([atoms random-perturbation])
+file=water.xyz
+AT_CHECK([cp -f ${abs_top_srcdir}/tests/regression/Atoms/RandomPerturbation/pre/water.xyz $file], 0, [ignore], [ignore])
+AT_CHECK([../../molecuilder -i water.xyz --set-random-number-distribution "uniform_int" --random-number-distribution-parameters "max=1;" --select-all-atoms --random-perturbation 0.1], 0, [ignore], [ignore])
+AT_CHECK([diff -I '.*reated' $file ${abs_top_srcdir}/tests/regression/Atoms/RandomPerturbation/post/water.xyz], 0, [ignore], [ignore])
+AT_CLEANUP
+
+AT_SETUP([Atoms - random perturbation with Undo])
+AT_KEYWORDS([atoms random-perturbation undo])
+file=water.xyz
+AT_CHECK([cp -f ${abs_top_srcdir}/tests/regression/Atoms/RandomPerturbation/pre/water.xyz $file], 0, [ignore], [ignore])
+AT_CHECK([../../molecuilder -i water.xyz --set-random-number-distribution "uniform_int" --random-number-distribution-parameters "max=1;" --select-all-atoms --random-perturbation 0.1 --undo], 0, [ignore], [ignore])
+AT_CHECK([diff -I '.*reated' $file ${abs_top_srcdir}/tests/regression/Atoms/RandomPerturbation/pre/water.xyz], 0, [ignore], [ignore])
+AT_CLEANUP
+
+
+AT_SETUP([Atoms - random perturbation with Redo])
+AT_KEYWORDS([atoms random-perturbation redo])
+file=water.xyz
+AT_CHECK([cp -f ${abs_top_srcdir}/tests/regression/Atoms/RandomPerturbation/pre/water.xyz $file], 0, [ignore], [ignore])
+AT_CHECK([../../molecuilder -i water.xyz --set-random-number-distribution "uniform_int" --random-number-distribution-parameters "max=1;" --select-all-atoms --random-perturbation 0.1 --undo --redo], 0, [ignore], [ignore])
+AT_CHECK([diff -I '.*reated' $file ${abs_top_srcdir}/tests/regression/Atoms/RandomPerturbation/post/water.xyz], 0, [ignore], [ignore])
+AT_CLEANUP
Index: tests/regression/Atoms/testsuite-atoms.at
===================================================================
--- tests/regression/Atoms/testsuite-atoms.at	(revision 3fb9ab59e65e8b93b5eeb0d1bf0ccdedd5cc8e06)
+++ tests/regression/Atoms/testsuite-atoms.at	(revision 3f6aac06d33e464dc0334c630276ee1638946e4d)
@@ -49,2 +49,5 @@
 m4_include([Atoms/Saturate/testsuite-atoms-saturate-atoms-nitrogen.at])
 m4_include([Atoms/Saturate/testsuite-atoms-saturate-atoms-bonded_atoms.at])
+
+# mirror atoms
+m4_include([Atoms/RandomPerturbation/testsuite-atoms-random-perturbation.at])
