Added tests for truncate with(out) append parameter