Written tests for XMLTag Class