improved static topology tests