describe('The CamlTag should build a valid XML String', function() {
	var CamlTag;
	beforeEach(module('ngSharepoint'));
	beforeEach(inject(function(_CamlTag_) {
		CamlTag = _CamlTag_;
	}));
	it('builds a valid XML Tag', function() {
		expect(new CamlTag('Test').build()).toEqual('<Test/>');
	});
	it('builds a valid XML Tag with Attributes', function() {
		expect(new CamlTag('Test', {Type: "Test"}).build()).toEqual('<Test Type="Test"/>');
	});
});
@@ -439,11 +439,175 @@
 );%0A%09%7D);%0A
+%09it('builds a valid XML Hierarchy', function() %7B%0A%09%09var tag = new CamlTag('Test');%0A%09%09tag.push('Child');%0A%09%09expect(tag.build()).toEqual('%3CTest%3E%3CChild/%3E%3C/Test%3E');%0A%09%7D);%0A
 %7D);

Test Child Tags