Added test of syncCallback, it works correctly.