Test script for finding bad data