Resolved SonatQube issues, added a test for Sequence.