common API: add log_spec tests
common API: add log_spec into phone_spec