[tests] fixes a few coverage-related test bugs

Signed-off-by: Christopher Rogers <chrissrogers@gmail.com>