if __FILE__ == $0 was intended to enable testing (yet TODO).  Was there a reason to remove it?  (Note, a further refactor to rename 'class Mysql_status' and put it in a .rb would enable testing without the if() and would make more sense in the gem structure.)