Add __purge method for coverage. Update _log method to work with client side testing.
90+% coverage