Added delete chat stuff + tests.