Script for automated unit testing