Currently, we've been validating things manually, but we should write some actual tests. We should cover: * `applyEvent` * `createResourcePools` — this is optional mostly because we can indirectly test it in the next function. * `simulateAccounting`