finish implementing all conditions of ab test