tests small fixes