fix tests for api changes
code coverage