Adding unit tests for tag pairs.