tests: expand coverage of socket chardev test