Fix tests so dependencies are installed