Added Mockery for better unit testing - see UserTest::testGetBalance for example