added loggin tests
added more tests