BP: fixed submiting results in test mode