added lcm tests