[writeboost] fix out-of-date codes to run with latest writeboost

Start porting the tests in writeboost's repo to dmts.
Fix the out-of-date codes first

Signed-off-by: Akira Hayakawa <ruby.wktk@gmail.com>