Fix wrong build directory 'target'

This commit switches the test's working directory from 'target'
to the Gradle build directory 'build'.

Change-Id: Idbcdea2320f17c0fceea0f2e60f8ebc6da6055d1
36 files changed