Initial gradient classes with tests