Test that a custom geometry works