add mock dependency for older python versions

#46