Added function deleteSession which is used to delete a given session
Added the testDeleteSession to test if the session was really deleted