Add tests for getUserName function from lib/mysql.js