modified tests to use the new way of logging