Testing Dirty Systems