added condition on fail
added test
updated check
Merge pull request #551 from killerfish/revcomp

Reverse complement fix for issue #548