Add UT for kstate and UVE