Fix between_two_tags()

This pull request fixes between_two_tags()  and adds tests to ensure it stays fixed.

This also fixes #49