INT-3290 ByteArraySingleTerminatorSerializer does not support multiple s...

...ubsequent terminators.

JIRA: https://jira.springsource.org/browse/INT-3290

* Added unit test to verify bug.
* Fixed bug.