fixed mock tests