[sanlock] 04/04: tests: Improve write_{lockspace,resource} tests