Removed useless log. Fixed test procedure