persistence adapter shell and test