Add resyncs

Small changes to a test program