Test that default constructors are inherited or not correctly