Optimization and robustness of the inhibitory avoidance test for pharmacological screening on long-term memory