Adding join and leq, test_data now runs smoothly