Added unit test for checking not more than 3 invocation per second.