[CBSER-22] simplify query_dynamodb_reg
change test assertion