better rule for testing