How can I test the ear speaker?

I would like to test the ear speaker, to find out is it faulty? or there is a logic board problem. How can i test it, when it has been removed form the phone?

crwdns2934089:0crwdne2934089:0 crwdns2934093:0crwdne2934093:0

crwdns2934109:0crwdne2934109:0

crwdns2889612:0crwdne2889612:0 0
crwdns2934285:0crwdne2934285:0