Unit testing for Mysql Persister class.