adding test against main; adding min/main to ci build; fixing min build