Tesing rate simulation functions