Bugfix in the sequences lookup

And new tests for checking the sequences lookup
Release version 1.1.2