added logout handler tests
added more tests