logging works for tests now. implemented more logging