Write a Template for Automated Tests

Closes issue #254

(cherry picked from commit 76997d44e4a1d3a9cc08a4105d7c81205e00cccd)