Added BMInterface-level unit tests, added logic for saving BMDie->max to die field actual_max