Added testing code to deploy script.