one of the funcs used to test State monad laws should involve a random-interval promise-timer; wrap tests properly inside it functions and use the 'done' callback