fix tests and build (gradle upgrade to 1.10)