[test] Ignore the test file for the coverage report
[minor] More dead code removal
[ignore] .ternport
[test] Adding tests to ensure the algorithm is working as intended.
[test] Adding failing test