fixed mock dependency for travis