fixing log check counts in tests