add tests for renamed dist
use main-name for named-amd and global builds