Tests function's return value reported from backend.