Added some tests for MySQL Manager and removed recursive lock (not needed).