Added resists, attrs into getStats, and test data for math.