tests: Make tests not depend on path to TEST_ROOT

Signed-off-by: Marco Elver <me@marcoelver.com>