added pyyaml dependency to tests