Added unit tests for TimeLimited