Split dependencies into test and compile