Added unit tests for random number generation in the model, and for removing recipes from inventories in the model.