Fixed test input file not found when doing out-of-source builds.
Added test for return value of QueryDoubleAttribute().
Merge pull request #110 from pzychotic/tests

Small test addition and fix