generalizing tests