implemented different behavior for different tests