ISPN-2867 Do not test Main to avoid System.exit() affecting test completion