Small fix to name==main testing.