BUGFIX prune returned history in internal_get_history calls in the moka_fsm_test

Pivotal bug: 47577545

Without this fix, the test could explode in exponential memory growth.