Changed logging, added a test