[tests] some fixes