Add tests for api_version & enable_n_hosts commands.