fixed intersection methods, added test