CORE-4446: added unit tests for bowtie