test: Fix fstrim/discard tests

Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>