a *simplified* version of fake time library
inspired by https://github.com/wolfcw/libfaketime