[fix] Fix Makefile dependency graph
[test api] Implement `env_copy`