Improved LM testing a little.