minor: tests: fix assertion for no errors