fix gradle distibution to bin
fix testLogging