Fixing test to fail only if CompoundNotFound, otherwise will go to error
Merge pull request #2 from josemduarte/fixToTest

Fixing test to fail only if CompoundNotFound, otherwise will go to error