importer add possibility to import anonymous record classes and improved tests