Add test for downcase check
Use class in tests