kmstest: check return values from reserve_*