Adding test directory and the resample and jacobian tests