Fix relative path issue in custom test