TST: Fix setattr issue with geometry property and more edge case tests