Testing and using Logger