added log in test