added test for intersection and union of rectangles, fixed bugs found in the test
fixed bug in function call on line.dart