Testing with generic data