Option to allow subclassing retrieve_list().
Added test for new 'allow_subclassing' argument.