I have spent 10+ hours on this module and after looking through the test files and assertion. I saw that the assertions are failing because my version is always missing the last line in those test cases.
(just lineno 999 is missing ). I have observed this in many test cases
I request the mentors to take a look at my code.
@gouravsardana @Rahul-Crio.do @dotslash21