test act sessiondetails, test query records