Update version of libs for the test
Support latest leo_statistics, remove whitespaces, format code and modify copyright