Make test deps intransitive