Add test to verify that its not possible to deserialize base polymorphic class without type