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

This should fix partially the problems with the NonstandardProteinCompoundTest, now it is more specific and will fail only when CompoundNotFoundException. On any other error it will produce an error rather than a failure