fix #1284

fixed the missing minus sign in last test.