ending testing