Add heartbeat monitor examples for simulator.