rewrote sequence::overlap to function correctly
added small test for overlap