describe('Address Book', function() {
	var addressB,
		thisContact;

	beforeEach(function() {
		addressB = new addressBook();
		thisContact = new Contact();
	});

	it('should be able to add a contact', function() {
		addressB.addContact(thisContact);
		expect(addressB.getContact(0)).toBe(thisContact);
	});

	it('should be able to delete a contact', function() {
		addressB.addContact(thisContact);
		addressB.deleteContact(0);
		expect(addressB.getContact(0)).not.toBeDefined();
	});
});
@@ -482,8 +482,411 @@
 %09%7D);%0A%7D);
+%0A%0Adescribe('Async Address Book', function() %7B%0A%09var addressB = new addressBook();%0A%0A%09/*%0A%09 * the func getAsyncContacts should take as param%0A%09 * a callback func and invokes it gets a response%0A%09*/%0A%09beforeEach(function(done) %7B%0A%09%09addressB.getAsyncContacts(function() %7B%0A%09%09%09done();%0A%09%09%7D);%0A%09%7D);%0A%0A%09it('should get the contacts async', function(done) %7B%0A%09%09expect(addressB.asyncCompleted).toBe(true);%0A%09%09done();%0A%09%7D);%0A%7D);

Add test for async address book