Added 2 unit tests to ensure the correct records are marked for update or create.