[tests] try reading after close in test-source.c