Added unit test for frame time.