Move test types list to the database