common: fix tests