JS tests for sync up with locally deleted and locally created records