Fixed static logger
Fixed test