Working on test for sync handler