Added unit tests for compare on etag

Added tests for cases in which a target key's etag is the same as
source, and in which a target key's etag differs.