Add a test for enable_all_hosts command.
Remove needless require.