1)如果我听见中国人聊天儿,有时候我能听懂。
2)我通过了HSK2考试,只做错了一道题,其余都做对了。
3)现在我写完了作业。or 现在我做完了作业。
ps:passed an exam we usually use“通过了XXX考试”。 eg.通过了入学考试 means passed the entrance exam.
If you want to say that you have a pretty good score,you can add "考得很好" as a complement,like this"我通过了HSK2考试,考得很好,只做错了一道题,其余都做对了。"