tests: new test case to verify pkg files are replaced correctly.