Fixed intersection

Added better test that uses string labels instead of just integers.