Mysql slave status fix for failing check

I'm not sure what changed, but I noticed that the current version of the mysql check was failing when replication was enabled. In order to make it work, the cursor needs to be re-excited. I also wrote another unit test to verify the stat is available.