unittest: make sure required packages are installed