test reversed gradiant