added logout testing