Adding test cases for sync operation