make gpk test work in subdirectories