fix tests and local checker