Add a test for the truncate/osd-commit-reply race

Signed-off-by: Sam Lang <sam.lang@inktank.com>