added equals()
added static Random() + added sinon for stubbing