Fix test to look masterfiles in ABS_TOP_SRCDIR

ABS_TOP_SRCDIR is now a compile time define as you suggested, although I'm not sure it's right to reveal the build path in the distributed binaries.