add more tests around the polymorphic url api