refactored data to another js, test suggestion generation