Add tests for openstack release setting, cleanup for install_type switch