Testing oligopoly power in domestic and export markets