Remove deprecated call to db test prepare