simplify test, remove session from get prepared statement