Small tests optimization