Test inheriting from a class which also takes the different API for `new` and even showing how you could handle the old API as well.