[PATCH v2] test: bdinfo: Add test for command bdinfo