ticket:1 fix tests and statis