Fix -tests subpackage dependencies