Added explicit test for zero length output sequence when truncating reve...

...rse primer and modified unit tests