Added gradient to test vector