add tests for enable/disable Bare-metal discovery

(test disabled for now)