Finding 2 poisoned bottles of wine out of a 1000
Look again at the following url that you mentioned in your question. Now the post has been updated with explicit procedures. You can number the wines, run the tests as specified, check the results and determine the 2 poisons. Hope that helps.
Logic problem: Identifying poisoned wines out of a sample, minimizing test subjects with constraints
Also look at Identifying 2 poisoned wines out of 2^n wines for a easier, guided explanation on how it can be solved using $6n$ tests given $2^n$ wines.
A054961 shows 27 rats are enough. In the link there's a C code to search a result to use 27 rats to find out the 2 poisoned bottles out of 1090. The code tries to evolute to a better solution removing some candidate wines and redistribute them among rats randomly again.