fix assertion to have correct test