Number generator test added error