#526: fix tests