Added menu controls for enabling disabling test mode