adjusted test for downcase