Create new entity StatisticArchive, implement logic for testing