added logout tests