Fixed #6. The test app now checks the srcdir environment variable to find the input files.