Helper scripts for testing