test within name/main block