Compare and Set Tester

Added a script for testing the Compare and Set functionality.