tests: more comprehensive tests