build and fix tests