Bash script for automated code testing