[tests] increase code coverage by tests.