chore: increase coverage in some trivial ways

1. Remove old functionalities;
2. Remove testings on internal implementations;
3. Add trivial test cases.

Change-Id: I286599ea564e144783e3edbe074d4921fa5b46f6
Merge "chore: increase coverage in some trivial ways"